
#ifndef SCROLLINGBG_H_
#define SCROLLINGBG_H_

#include <string>
//#include <windows>
#include "..\Includes\Common.h"
#include "..\Graphics\Sprite.h"
#include "..\Graphics\Texture.h"

class ScrollingBG
{
public:
	ScrollingBG() {}
	virtual ~ScrollingBG() {}

	void Clear() {};
	void Create();
	void Destroy() {};

	void Update();
	void Render();

private:
	Sprite* sprite1, *sprite2;
	Texture* texture;
	RECT r1, r2;
	int offset;//, offset2;
	int maxOff;
	int screenWidth, screenHeight;
	int textWidth, textHeight;
};

#endif//SCROLLINGBG_H_
